package game;

public enum enumStates
{
	INITIALIZATION(0, "initialization"),
    MANAGE_PLACE_TILE_PRINT_DIALOG(1, "managePlaceTilePrintDialog"),
    MANAGE_BUY_STOCKS_PRINT_DIALOG(2, "manageBuyStocksPrintDialog"),
    MANAGE_COMPANY_SELL_SAME_SIZED_DIALOG(3, "manageCompanySellSameSizedDialog"),
    SELL_COMPANY_TO_COMPANY_GET_ORDER(4, "sellCompanyToCompanyGetOrder"),
    START_GAME_LOOP(5, "startGameLoop"),
    START_GAME_MANAGE_COMPANY_SELL(6, "startGameManageCompanySell"),
    START_GAME_PRINT_CHOOSE_COMPANY_DIALOG(7, "startGamePrintChooseCompanyDialog"),
    GAME_ENDED(8, "game_Ended"),
    ;
    
    private final int index;
    private final String name;
    
    enumStates(int index, String name) {
        this.index = index;
        this.name = name;
    }
    
    public int getIndex() {
        return index;
    }
    
    public String toString() {
        return name;
   }
}
